package com.leadingsoft.pwxk.model;

import java.io.Serializable;
import java.util.List;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToMany;

import lombok.Data;

/**
 * 
 * @author ysh
 * @desc 核发计划填报人信息
 */
@Data
@Entity
public class FillYearPlan implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Long id;
	private String fillPerson;
	private String linkWay;
	private String unit;
	private String fileDate;

	@OneToMany(cascade = CascadeType.ALL)
	private List<YearPlan> yearPlan;
}
